package com.ims.core.enums;

/**
 * 拆分行数
 * 0    转为清单开具
 * 1    拆分多张发票
 * @author IMS
 */
public enum SplitRows {
    CONVERT_TO_LIST(0, "转为清单开具"),
    SPLIT_INTO_MULTIPLE_INVOICES(1, "拆分多张发票");

    private final int code;
    private final String name;

    SplitRows(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}